Measurement of needle insertion angles